<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图书管理系统后台</title>
    
        <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="/Public/Admin/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<script src="/Public/js/jquery.js" type="text/javascript"></script>
<script src="/Public/js/jquery.form.js" type="text/javascript"></script>
<script src="/Public/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="/Public/js/bootstrap.js" type="text/javascript"></script>
<link href="/Public/Admin/css/web.css"  type="text/css" rel="stylesheet"/>
<link href="/Public/Admin/css/nav.css" type="text/css" rel="stylesheet"/>
<link href="/Public/Admin/img/LOGO-background.png" rel="shortcut icon" type="imagend.microsoft.icon"/>
<link href="/Public/Admin/css/index.css" rel="stylesheet" type="text/css"/>
<link href="/Public/Admin/css/body.css" rel="stylesheet" type="text/css"/>



    
    

    
</head>
<body>
<!-->
    
        <div class="nav">
    <div class="nav-width">
        <div class="nav-logo">
            <img src="/Public/Admin/img/LOGO-background.png" alt="LOGO"/>
        </div>
        <div class="nav-nemu">
            <img src="/Public/Admin/img/首页3_06.png" alt="LOGO"/>
            <a class="nav-cd" href="<?php echo U('Admin/Index/adminTui');?>">退出</a>
        </div>

    </div>
</div>

    
<!-->
    
        <div class="nav-top">
            <div class="nav-img">
                <img src="/Public/Admin/img/shouye.jpg" alt="顶部图片"/>
            </div>
            <!---->
            <div class="c-main-box">
                <div class="c-main-wrapper">
                    <div class="c-main-content">
                        <div class="c-main-left">
                            
    <link href="/Public/Admin/css/index.css" rel="stylesheet" type="text/css"/>


    <div class="menu_box">
        <?php if($_getAdminCategory['a_category'] == 1): ?><dl class="wx-menu wx-menu-first">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_trade.png) no-repeat;"></i>图书管理
                </dt>

                <dd class="wx-menu_item " id="menuId-11">
                    <a href="#" onclick="bookShow()">书籍展示
                    </a>
                </dd>
                <dd class="wx-menu_item" id="menuId-12">
                    <a href="#" onclick="bookEntering()">书籍录入
                    </a>
                </dd>
                <dd class="wx-menu_item" id="menuId-13">
                    <a href="#" onclick="forumManage()">论坛管理
                    </a>
                </dd>
                <!--<dd class="wx-menu_item" id="menuId-14">-->
                    <!--<a href="#" onclick="radioManage()">广播管理-->
                    <!--</a>-->
                <!--</dd>-->
            </dl>
            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_info.png) no-repeat;"></i>读者管理
                </dt>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="readTypeManage()">读者类型管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="readRealManage()">读者认证管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="readRecordManage()">读者档案管理</a>
                </dd>
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_message.png) no-repeat;"></i>消息管理
                </dt>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="systemInfoManage()">系统消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowManage()">借阅消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowInfoManage()">借阅订单管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="tradeManage()">交易消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="tradeInfoManage()">交易订单管理</a>
                </dd>
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_safe.png) no-repeat;"></i>系统设置
                </dt>
                <dd class="wx-menu_item">
                    <a href="#" onclick="bookClassManage()">图书分类管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="libraryManage()">图书馆管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="adminManage()">管理员管理</a>
                </dd>
                <dd class="wx-menu_item">
                    <a href="#" onclick="userManage()">信息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="loginPassword()">登录密码</a>
                </dd>
            </dl>
            <?php else: ?>
            <dl class="wx-menu wx-menu-first">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_trade.png) no-repeat;"></i>图书管理
                </dt>

                <dd class="wx-menu_item ">
                    <a href="#" onclick="bookShow()">书籍展示
                    </a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="bookEntering()">书籍录入
                    </a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="forumManage()">论坛管理
                    </a>
                </dd>
                <!--<dd class="wx-menu_item" >-->
                    <!--<a href="#" onclick="radioManage()">广播管理-->
                    <!--</a>-->
                <!--</dd>-->
            </dl>
            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_info.png) no-repeat;"></i>读者管理
                </dt>
                <dd class="wx-menu_item" id="menuId-41">
                    <a href="#" onclick="readTypeManage()">读者类型管理</a>
                </dd>
                <dd class="wx-menu_item" id="menuId-42">
                    <a href="#" onclick="readRecordManage()">读者档案管理</a>
                </dd>
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_message.png) no-repeat;"></i>消息管理
                </dt>
                <dd class="wx-menu_item" id="menuId-51">
                    <a href="#" onclick="systemInfoManage()">系统消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowManage()">借阅消息管理</a>
                </dd>
                <dd class="wx-menu_item" >
                    <a href="#" onclick="borrowInfoManage()">借阅订单管理</a>
                </dd>
                <!--<dd class="wx-menu_item" id="menuId-52">-->
                    <!--<a href="#" onclick="tradeInfoManage()">交易消息管理</a>-->
                <!--</dd>-->
            </dl>

            <dl class="wx-menu ">
                <dt class="wx-menu_title">
                    <i class="wx-icon_menu" style="background:url(/Public/Admin/img/icon_menu_safe.png) no-repeat;"></i>系统设置
                </dt>
                <dd class="wx-menu_item" id="menuId-63">
                    <a href="#" onclick="bookClassManage()">图书分类管理</a>
                </dd>
                <!--<dd class="wx-menu_item" id="menuId-60">-->
                    <!--<a href="#" onclick="libraryManage()">图书馆管理</a>-->
                <!--</dd>-->
                <!--<dd class="wx-menu_item" id="menuId-61">-->
                    <!--<a href="#" onclick="adminManage()">管理员管理</a>-->
                <!--</dd>-->
                <dd class="wx-menu_item" id="menuId-62">
                    <a href="#" onclick="userManage()">信息管理</a>
                </dd>
                <dd class="wx-menu_item" id="menuId-64">
                    <a href="#" onclick="loginPassword()">登录密码</a>
                </dd>
            </dl><?php endif; ?>

    </div>


    <script type="text/javascript">
        //        图书管理
        function bookShow(){
            document.getElementById("iframeA").src="<?php echo U('Admin/BookManage/bookShow');?>";
        }
        function bookEntering(){
            document.getElementById("iframeA").src="<?php echo U('Admin/BookManage/bookEntering');?>";
        }
        function forumManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/BookManage/forumManage');?>";
        }
        function radioManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/BookManage/radioManage');?>";
        }
        //        读者管理
        function readTypeManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/ReadManage/readTypeManage');?>";
        }
        function readRealManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/ReadManage/readRealManage');?>";
        }
        function readRecordManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/ReadManage/readRecordManage');?>";
        }
        //        消息管理
        function systemInfoManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/InfoManage/systemInfoManage');?>";
        }
        function borrowManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/InfoManage/borrowManage');?>";
        }
        function borrowInfoManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/InfoManage/borrowInfoManage');?>";
        }
        function tradeManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/InfoManage/tradeManage');?>";
        }
        function tradeInfoManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/InfoManage/tradeInfoManage');?>";
        }
        //        系统管理
        function libraryManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/SystemManage/libraryManage');?>";
        }
        function adminManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/SystemManage/adminManage');?>";
        }
        function userManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/SystemManage/userManage');?>";
        }
        function bookClassManage(){
            document.getElementById("iframeA").src="<?php echo U('Admin/SystemManage/bookClassManage');?>";
        }
        function loginPassword(){
            document.getElementById("iframeA").src="<?php echo U('Admin/SystemManage/loginPassword');?>";
        }
    </script>



                        </div>
                        <div class="c-main-right">
                            <iframe src="<?php echo U('Admin/BookManage/bookShow');?>" width="1000" height="760" scrolling="no" id="iframeA"></iframe>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    
<!-->
    
        <div class="c-bottom-box">
    <div class="c-bottom-wrapper">
        <div class="c-bottom-content">
            <div class="m-footer-left">
                <div class="m-footer-words">
                    <span>借书流程</span> <span>帮助文档</span> <span> <a href="http://weibo.com/u/3947441853?is_all=1" target="view_window">馆主微博</a> </span> <span><a href="<?php echo U('Home/Index/wm');?>">联系我们</a></span>
                    <span><a href="<?php echo U('Home/Index/wm');?>">媒体报道</a> </span>
                </div>
                <div class="m-footer-wordsbottom">
                    <div>
                        <span><?php echo ($_getLibraryInfo['library_bottom_content']); ?></span>&nbsp;&nbsp;&nbsp;<span>版权所有&nbsp;&nbsp;<?php echo ($_getLibraryInfo['library_copyright']); ?></span>
                    </div>
                    <div>
                        <span>隐私条款</span>&nbsp;&nbsp;<span>服务条款</span>
                    </div>
                </div>
            </div>
            <div class="m-footer-right">
                <img src="/Public/img/LOGO-background.png">
                <h4><a href="#"><?php echo ($_getLibraryInfo['library_bottom_title']); ?></a></h4>
            </div>
        </div>
    </div>
</div>
    
<!-->
    

    
</body>
</html>